import PubSub from 'pubsub-js'
Page({
    myClick(){
        //传递对象
        PubSub.publish('msgEvent2',{name:'lisi'})
    }
})